package com.example.work2

import android.content.Context
import androidx.annotation.RequiresFeature

class ProgramExpert {
    fun getLanguage(feature: String, context: Context): String {
        when(feature) {
            context.getString(R.string.feature_concurrent) -> return context.getString(R.string.language_go)
            context.getString(R.string.feature_crossplatform) -> return context.getString(R.string.language_js)
            context.getString(R.string.feature_performance) -> return context.getString(R.string.language_rust)
            context.getString(R.string.feature_safety) -> return context.getString(R.string.language_swift)
            else -> return context.getString(R.string.default_display)
        }
    }


}

